#include "54func.h"
#include "clientFunc.h"
int userLoginProc(int sockfd, const cmd_t* pcmd){
    train_t train;
    if(recvMsg(sockfd, &train)) {
        printf("登录成功!欢迎回来!\n");
        memset(&loginInfo, 0, sizeof(loginInfo));
        loginInfo.loginFlag = 1;
        strcpy(loginInfo.userName, pcmd->argv1);
    }
    return 0;
}






